<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
  </head>
  <body>
   <g:if test="${!session.usuario}">
                <g:form controller="usuario" action="login" method="post">
                    <div id="camposForm">
                        <p>
                            <label for="login"><g:message code="Matricula" /></label>
                            <input type="text" id="login" name="login" value="${usuario?.matricula}" />
                        </p>
                        <p>
                            <label for="password"><g:message code="Senha" /></label>
                            <g:passwordField name="senha" value="${usuario?.senha}" />
                            
                        </p>
                    </div>
                    <div class="buttons">
                        <span class="button">
                            <input class="login" type="submit" value='<g:message code="Entrar" />'/>
                        </span>
                    </div>
                </g:form>
            </g:if> 
  </body>
</html>
